package com.vedana.bankmobile.dao;

import java.util.List;

import com.vedana.bankmobile.shared.Account;

/**
 * DAO interface to accounts
 * @author Didier MOISE
 *
 */
public interface AccountDao {
	/**
	 * Add a new account
	 * @param account Account object
	 */
	void addAccount(Account account);
	
	/**
	 * List accounts for a customer
	 * @param customerId Customer id
	 * @return List of accounts attached to a customer.
	 */
	List<Account>listAccounts(long customerId);
}
